package com.atguigu.ware.wares.vo.reqVo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class WarePurchaseDoneReqVo {
    /**
     * {
     *    id: 123,//采购单id
     *    items: [{itemId:1,status:4,reason:""}]//完成/失败的需求详情
     * }
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    private List<WarePurchaseDetailReqVo> items;
}
